<%@page import="com.wanmait.cookBook.vo.Like"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%String path = request.getContextPath();%>
<%ArrayList<Like> topThreeDiary = (ArrayList<Like>)request.getAttribute("topThreeDiary"); %>
	<%for(Like like:topThreeDiary){%>
		<li>
			<h2><a target="_blank" href=""><%=like.getDiary().getDiaryName() %></a></h2>
			<p>
				<span><a href=""><%=like.getUserinfo().getUserName() %></a></span><br>
				<span><a href=""><%=like.getDiary().getDiaryContext() %></a></span>
			</p>
		</li>	
	<% } %>